package com.googlecode.perfectable.persistable.index;

import java.util.Collection;

import com.googlecode.perfectable.persistable.session.Identifier;

public interface Index<T, X> {
	Collection<Identifier<? extends T>> scan(X property);

	<K> void insert(K entity, Identifier<? extends K> identity);
}
